make-pot: Document variables
authorMatthias Clasen <mclasen@redhat.com>
Tue, 3 Mar 2015 20:00:06 +0000 (15:00 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 3 Mar 2015 20:01:15 +0000 (15:01 -0500)
Damn-lies will have to use one of these to override the name
of the generated file. Lets document them all, while I still
remember this.

make-pot

index 279cfaa15cd8ffa995ab5725a4c4feb170d9a3d3..1abb5905e3819c97738c8dd6e01faba6909ff600 100755 (executable)
--- a/make-pot
+++ b/make-pot
 #   ./make-pot properties
 #
 # to generate po-properties/gtk30-properties.pot.
+#
+# Various things can be passed in by environment variables, which
+# are heavily inspired by the variables used in po/Makefile.in.in:
+#
+# XGETTEXT - path of the xgettext binary
+# top_srcdir - the location of the GTK+ checkout
+# srcdir - the directory where POTFILES.in is located (defaults to
+#          $top_srcdir/po or $top_srcdir/po-properties)
+# GETTEXT_PACKAGE - the gettext domain, used for naming the resulting
+#          .pot file (defaults to gtk30 or gtk30-properties)
+# XGETTEXT_KEYWORDS - --keyword arguments to pass to xgettext
 
 
 XGETTEXT="${XGETTEXT:-xgettext}"